#ifndef GAMETD_PLACEPANEL_H
#define GAMETD_PLACEPANEL_H

#include "Panel.h"

class PlacePanel : public Panel {
public:
    PlacePanel();
    ~PlacePanel() = default;
    void OnUpdate(SDL_Renderer *renderer) override;
    void OnRender(SDL_Renderer *renderer) override;

protected:
    void OnClickTopArea() override;
    void OnClickLeftArea() override;
    void OnClickRightArea() override;

private:
    const SDL_Color colorRegionFrame = {30, 80, 162, 175};
    const SDL_Color colorRegionContent = {0, 149, 217, 75};
    int regTop = 0, regLeft = 0, regRight = 0;
};

#endif //GAMETD_PLACEPANEL_H
